package com.sphd.emanu.activity.dis;

import android.content.Context;

import com.sphd.emanu.mvp.BasePresenter;
import com.sphd.emanu.mvp.BaseView;

import retrofit2.http.Query;

/**
 * MVPPlugin
 * 邮箱 784787081@qq.com
 */

public class DisContract {
    interface View extends BaseView {

        void upRes(int res);
    }

    interface Presenter extends BasePresenter<View> {
        void updateDiscount(Integer id,
                            Boolean enabled,
                            Integer discountRate,
                            Boolean advanceEnabled,
                            Integer advanceRate,
                            Integer advanceTime,
                            Boolean isLoop);
    }
}
